Forgot to increase the counter in the for loop, doing it now.
https://bugzilla.gnome.org/show_bug.cgi?id=669116
/* Move around the menu items if necessary */
gtk_notebook_child_reordered (notebook, page);
- for (list = priv->children, i = 0; list; list = list->next)
+ for (list = priv->children, i = 0; list; list = list->next, i++)
{
if (MIN (old_pos, position) <= i && i <= MAX (old_pos, position))
gtk_widget_child_notify (((GtkNotebookPage *) list->data)->child, "position");